#include <Volume.h>
#include "VolumeUnit.h"
#include <ExportVolumeUnit.h>

Volume::Volume(float vol, const VolumeUnit &unit):Quantity(vol, unit)
{
}


bool Volume::operator==(const Volume & num)const
{
    return this->equals(num);
}

bool Volume::operator!=(const Volume & num)const
{
    return !this->equals(num);
} 


Volume Volume::operator+(const Volume & vol)const
{
     return Volume(this->plusByBaseUnit(vol), TSP);
}    

